FROM node:alpine

WORKDIR /usr/src/app

COPY . .
RUN yarn
EXPOSE 8080
RUN yarn build

CMD ["yarn", "start:prod"]
